#include <cmath>

namespace ncm_cpp
{
	class MomerizeSearch
	{
	public:
		static void FindLongestIncreasingPath(double** matrix, int c, int r, 
			int& x, int& y, int& length)
		{
			int len = 0;
			x = 0; 
			y = 0;
			for (int i = 0; i < c; i++)
			{
				for (int j = 0; j < r; j++)
				{
					int l = Search(matrix, c, r, i, j);
					if (l > len)
					{
						len = l;
						x = i;
						y = j;
					}
				}
			}
		}
	private:
		static int Search(double** matrix, int c, int r, int x, int y)
		{
			int max = 0;
			return max;
		}
	};
}
